/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.tattoo.workflow.domain.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.cshoo.tattoo.embed.infra.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 杨翼
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "procurement_item")
@Data
public class ProcurementItem extends BaseEntity {
    /**
     * 采购数量
     */
    @Column(name = "count")
    private Integer count;

    /**
     * 申请单id
     */
    @Column(name = "process_instance_id", length = 100)
    private Long procurementOrderId;
}
